package com.acme.bankapp.domain.bank;
import java.util.ArrayList;

public class Client {
  private ArrayList<Account> accounts = new ArrayList<Account>();
  private Gender gender;
  private String name;
  public Client(String name, Gender gender){
    this.name = name;
    this.gender = gender;
    accounts.add(new Account());
  }
  public ArrayList<Account> getAcconts(){
    return accounts;
  }
  public void getClientSaltation(){
    System.out.println(gender.greeting + " " + name);
  }
}
